import 'dart:convert';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:wanxiang_app/bean/normal_entity.dart';
import 'package:wanxiang_app/bean/qa_list_entity.dart';
import 'package:wanxiang_app/pages/home/qaDetail.dart';
import 'package:wanxiang_app/utils/constant.dart';
import '../../bean/service_list_entity.dart';
import '../../utils/network_manager.dart';
import '../../utils/network_url.dart';
import '../../utils/toast_util.dart';
import '../../widgets/myappbar.dart';
import 'package:get/get.dart';

class MsgDetailController extends GetxController{

  @override
  void onInit() {
    super.onInit();
  }
  @override
  void onClose() {
    super.onClose();
  }
}


class MsgDetailPage extends GetView<MsgDetailController>  {
  late MsgDetailController controller ;
  late BuildContext context ;
  @override
  Widget build(BuildContext context1) {
    Get.lazyPut<MsgDetailController>(() => MsgDetailController());
    controller = Get.find();
    String msg = Get.arguments;
    context = context1;

    return GetBuilder<MsgDetailController>(
      builder: (_){
        return  Scaffold(
            appBar: MyAppBar(context: context, title: '系统消息',hasLeading: true,),
            backgroundColor: Colors.white,
            body:  _content(msg));
      },
    )
    ;

  }
  Widget _content(msg){
    return SingleChildScrollView(
        child: Container(
          padding: EdgeInsets.only(left: 20.w,top: 20.h,right: 20.w,bottom: 20.h),
          child: Column(
            children: [
            Text(msg)
            ],
          ),
        )
    ) ;
  }



}